#pragma once
#include"Heros.h"
#include"Map.h"
#include"KeyInput.h"
class Game
{
public:
	Heros* pHero;
	Map* map;
public:
	void GameInit();

	void GameUpdate(Map* pmap, Heros* pHero);

	void GameRender(Map* map,Heros* pHero);

private:
	void playerOperate(const Vec2& dir);
};

